<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加后台管理人员</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/css/jurisdiction/jurisdiction-people-add.css">
    <script type="text/javascript" src="/layui/layui.js"></script>
</head>
<body>
    <div id="box" style="width: 99%;margin: 0 auto">
        <div class="layui-row" >
            <div class="layui-elem-quote">
                <span style="font-size: 18px">添加后台人员</span>
                <span style="float: right;">
                    <button class="layui-btn" style="background-color: #2F4056;" onclick="javascript:Refresh()"><i class="layui-icon layui-icon-refresh"></i>刷新</button>
                    <button class="layui-btn" style="background-color: #2F4056;" onclick="javascript:goBack()"><i class="layui-icon layui-icon-left"></i>返回</button>
                </span>
            </div>
        </div>
        <form class="layui-form" action="" style="width:800px;margin:40px auto">
            <div class="layui-form-item">
                <div class="layui-form-mid layui-word-aux" style="margin-left:300px;"></div>
                <div class="layui-input-inline" style="text-align: center;">
                    <img src="/images/user-img/moren.png" id="acatarUrl" style="width:130px;height:128px;border-radius:50%;">
                    <input type="text" class="layui-hide" name="mainImage"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">姓名:</label>
                <div class="layui-input-block">
                    <input class="layui-input" name = "trueName" id="trueName" required  lay-verify="required" autocomplete="off" type="text" placeholder="请输入用户姓名" onfocus="this.placeholder=''" onblur="this.placeholder='请输入用户姓名'"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">性别:</label>
                <div class="layui-input-block">
                    <input type="radio" name="sex" lay-filter="sex" value="1" title="男" checked>
                    <input type="radio" name="sex" lay-filter="sex" value="2" title="女">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">手机号码:</label>
                <div class="layui-input-block">
                    <input class="layui-input" name="phone" id="phone" required  lay-verify="phone" autocomplete="off" type="text" placeholder="请输入手机号码" onfocus="this.placeholder=''" onblur="this.placeholder='请输入手机号码'"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">身份证号码:</label>
                <div class="layui-input-block">
                    <input class="layui-input" name="idCard" id="idCard" required lay-verify="identity" autocomplete="off" type="text"  placeholder="请输入身份证号码" onfocus="this.placeholder=''" onblur="this.placeholder='请输入身份证号码'"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">出生日期:</label>
                <div class="layui-input-block">
                    <input class="layui-input" name="birthDate" id="birthDate" required  lay-verify="required" autocomplete="off" type="text" placeholder="请输入出生日期" onfocus="this.placeholder=''" onblur="this.placeholder='填写身份证号'"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">邮箱:</label>
                <div class="layui-input-block">
                    <input class="layui-input" name="email" id="email" required lay-verify="email" autocomplete="off" type="text" placeholder="请输入邮箱" onfocus="this.placeholder=''" onblur="this.placeholder='请输入邮箱'"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">个性签名:</label>
                <div class="layui-input-block">
                    <textarea class="layui-textarea" style="resize:none;" name="freestyle" id="freestyle" lay-verify="freestyle" placeholder="请输入个性签名" onfocus="this.placeholder=''" onblur="this.placeholder='请输入个性签名'"></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">账户:</label>
                <div class="layui-input-block">
                    <input class="layui-input" name="account" id="account"  id="startDate" lay-verify="required" autocomplete="off" type="text" placeholder="请输入账户" onfocus="this.placeholder=''" onblur="this.placeholder='请输入账户'"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">密码:</label>
                <div class="layui-input-block">
                    <input class="layui-input" type="password" name="password" id="password" id="endDate" lay-verify="required" autocomplete="off" placeholder="请输入密码" onfocus="this.placeholder=''" onblur="this.placeholder='请输入密码'"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">工资:</label>
                <div class="layui-input-block">
                    <input type="text" name="wages" id="wages" class="layui-input" lay-verify="required|price|number" autocomplete="off" placeholder="请输入工资" onfocus="this.placeholder=''" onblur="this.placeholder='请输入工资'"/>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">是否启用:</label>
                <div class="layui-input-block">
                    <input type="radio" name="enabled" lay-filter="enabled" value="1" title="启用" checked>
                    <input type="radio" name="enabled" lay-filter="enabled" value="2" title="未启用">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">所属部门:</label>
                <div class="layui-input-block">
                    <select name="deptId" id="deptId">
                        <option value="">请选择所属部门</option>
                        <option value="1">管理部</option>
                        <option value="2">人事部</option>
                        <option value="3">运营部</option>
                        <option value="4">教师部</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">个人备注:</label>
                <div class="layui-input-block">
                    <input type="text" name="remark" id="remark" class="layui-input" lay-verify="required" autocomplete="off" placeholder="请输入备注"/>
                </div>
            </div>
            <hr>
            <div id="box-body-dy">
                <button type="button" lay-submit lay-filter="sub" class="layui-btn" id="submit" style="margin:10px 0px 0px 45%;background-color: #2F4056;">添加管理人员</button>
            </div>
        </form>
    </div>
</body>
<script src="/js/newquan/newquan-people-add.js"></script>
</html>